// 2013-9-12上午01:33:14  net.betou.trade.role.setting.RoleFinderConfig.java

package net.betou.trade.role.setting;

import net.betou.core.entity.ConfigLogin;
import net.betou.trade.entity.main.AgentAndAdmins;

/**
 * 
 * @author 叶装装
 */
public class RoleFinderConfig extends FinderConfig{
	
	private String end;
	
	public RoleFinderConfig( AgentAndAdmins admin ){
		super( admin, ConfigLogin.CONFIG_ROLE );
	}
	
	@Override
	protected boolean findSelf( ) {
		return true;
	}

	@Override
	protected String getBegin( ) {
		return "admin_id in(";
	}

	@Override
	public String getEnd( ) {
		return ")" + end;
	}
	
	public void setEnd( String end ){
		this.end = end;
	}
}
